package inheritance.hr;

public class TestEmployee {

	public static void main(String[] args) {
		Employee ace = new Employee();
		ace.id = "waneeyo";
		ace.name = "hyosong";
		ace.salary	= 2100000;
		System.out.println(ace.getDetail());
		
		System.out.println("------------------------------------");
		
		Manager m = new Manager();
		m.id = "iespeace";
		m.name	= "hahaha";
		m.salary = 89182891;
		m.department = "HR";
		String hrinfo = m.getDetail();
		System.out.println(hrinfo);
		System.out.println(m.getDetail());
		
	}

}
